{include file="public_head"}
{include file="public_menu"}

        <div class="swiper-container" style="width: 100%;min-width: 1200px;background: none;margin-left: 0;">

            <!--Banner图-->
            <div class="swiper-wrapper">
                {empty name="data"}
                <div class="swiper-slide" style="height:400px;background: url('__STATIC__/img/banner.png') no-repeat center center;"></div>
                {/empty}
                {volist name="data" id="vo"}
                <div class="swiper-slide" style="height:400px;background: url('/{$vo.picUrl}') no-repeat center center;"></div>
                {/volist}
            </div>
            <!--Banner图-->

            <div class="swiper-pagination"></div>

            <script>
                var swiper = new Swiper('.header .swiper-container', {
                    pagination: '.main-right .swiper-pagination',
                    nextButton: '.main-right .swiper-button-next',
                    prevButton: '.main-right .swiper-button-prev',
                    paginationClickable: true,
                    autoplay: 2000,
                    speed:2000,
                    autoplayDisableOnInteraction: false,
                    effect : 'fade',
                    fade: {
                        crossFade: true,
                    }

                });
            </script>

        </div>

    </div>
    <!--拍卖 今日专场-->
    <div class="content-auction">

        <!--今日专场-->
        <div class="auction_left">
            <h4 class="auction_title">今日专场</h4>

            <!--拍卖商品-->
            <ul class="auc_left_list">
                {empty name="data"}
                没有拍卖商品！！！！！
                {/empty}
                {volist name="data" id="vo"}
                <li>
                    <a href="{:url('Auction/good_list',['id'=>$vo.id])}" target="_blank">
                        <img src="/{$vo.picUrl}" class="auc_left_pic">
                        <div class="auc_left_con">
                            <div class="state">
                                <h4>{$vo.title}</h4>
                                {if condition="$vo.end_time gt time()"}
                                <div>专场状态：进行中</div>
                                {else/}
                                <div>专场状态：已结束</div>
                                {/if}
                                <div>结束时：{:date('d',$vo.end_time)}日{:date('H:i',$vo.end_time)}</div>
                            </div>
                            {neq name="$vo.count_down" value="时间错误"}
                            <div class="time">剩余时间 {$vo.count_down}</div>
                            {/neq}
                        </div>
                    </a>
                </li>
                {/volist}
            </ul>
            <!--拍卖商品-->

        </div>
        <!--今日专场-->


        <!--人气拍品-->
        <div class="auction_right">
            <h4 class="auction_title">人气拍品</h4>
            <ul class="auc_right_list">
                {volist name="goods" id="mm"}
                <li>
                    <a href="{:url('Auction/good_detail',['id'=>$mm.id])}" target="_blank">
                        <img src="/{$mm.picUrl}" class="auc_right_pic">
                        <div class="title">{$mm.title}</div>
                        <div class="price">
                            <span>起拍价：￥{$mm.starting_price}</span>
                            <div class="time"><span>进入拍卖</span></div>
                        </div>
                    </a>
                </li>
                {/volist}
            </ul>
        </div>
        <!--人气拍品-->

    </div>
{include file="public_foot"}